package com.springcloud.service;

import com.entities.ResponseEntity;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

@Component
@EnableDiscoveryClient()
public interface FeginService {

    @GetMapping(value = "payment/select/{id}")
    public ResponseEntity selectByid(@PathVariable("id") String id);
}
